#include <vector>
#include <iostream>
#include <string>

using namespace std;

void DeclareVector()
{
    vector<int> ivec;
    vector<int> ivec2(ivec);
}

void InitVector()
{
    vector<string> articles = {"a", "an", "the"};
    vector<string> articles2{"This", "is", "the"};

    vector<int> v1(10, -1);
    vector<string> v2(10, "hi!");

    vector<int> v3(10);// 10 items 0
    vector<string> v4(10);// 10 items with default empty string object

    vector<int> v5 = v3;
}

void AddItems()
{
    vector<int> v2;
    for(size_t i = 0; i < 10; i++)
    {
        v2.push_back(i);
    }

    vector<string> v3;
    string word;
    while(cin >> word){
        v3.push_back(word);
    }
}

void OtherOperationsOnVector()
{
    vector<string> v;
    bool isEmpty = v.empty();
    size_t size = v.size();
    
    vector<string> v2;
    v = v2;// copy replace v1

    v2 = {"this", "is", "a", "test"};

    bool isEqual = (v == v2);
    bool isNotEqual = (v != v2);

    for(auto &item : v2)
    {
        item = "test";
    }
    
}

int main(int argc, char **argv)
{
    DeclareVector();
    InitVector();
    AddItems();
    return 0;
}